// pages/views/mainMenu/pages/scan/scanCode.js
Page({

	/**
	 * 页面的初始数据
	 */
	data: {

	},
	scan: function() {
		wx.scanCode({
			onlyFromCamera: true,
			success(res) {
				console.log(res)
			}
		})
	}
})
